package com.tiger.cloud.model.crm;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.tiger.cloud.common.mybatis.TigerBaseEntity;
import com.tiger.cloud.enums.AppVersionNustEnum;

import io.swagger.annotations.ApiModelProperty;
/**
 * 
 * app_version-app版本控制
 *
 */
public class AppVersion extends TigerBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 版本号
	 */
	@ApiModelProperty(value = "版本号",example = "2.3.1")
    private String versionCode;
	/**
	 * 
	 */
	@ApiModelProperty(value = "版本名称",example = "V2.3.1")
    private String versionName;
	/**
	 * 是否强制更新   默认为  1，强制更新；0，非强制更新
	 */
	@ApiModelProperty(value = "默认为  1，强制更新；0，非强制更新",example = "1")
    private AppVersionNustEnum isNust;
	/**
	 * 更新内容
	 */
	@ApiModelProperty(value = "更新内容",example = "更新内容更新内容更新内容更新内容")
    private String description;
	/**
	 * 更新日期
	 */
	@ApiModelProperty(hidden=true)
    private Date lastUpdateDate;
	/**
	 * 
	 */
	@ApiModelProperty(hidden=true)
    private Date createTime;
    
    public AppVersion(){
    
    }
    
    public String getVersionCode() {
        return this.versionCode;
    }
    
    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }
    public String getVersionName() {
        return this.versionName;
    }
    
    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }
    public AppVersionNustEnum getIsNust() {
        return this.isNust;
    }
    
    public void setIsNust(AppVersionNustEnum isNust) {
        this.isNust = isNust;
    }
    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    public Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }
    
    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}